const mongoose = require('./db')

// 信息表

const MessageScheam = mongoose.Schema({
    conversationId: {
        type: String,
    },
    sender: {
        type: String,
    },
    text: {
        type: String,
    }
}, { timestamps: true }
)

const Message = mongoose.model('Message', MessageScheam, 'Message')

module.exports = {
    Message
}